/*
 * FILE config.h
 * DESC config types and default values
 */

#ifndef __IPLITE_CONFIG_H__
#define __IPLITE_CONFIG_H__

#ifdef __USE_STDINT__
#include <stdint.h>
#define UINT8  uint8_t
#define INT8   int8_t
#define UINT16 uint16_t
#define INT16  int16_t
#define UINT32 uint32_t
#define INT32  int32_t
#else
#ifdef __CC_16__

#define UINT8  unsigned char
#define INT8   char
#define UINT16 unsigned int
#define INT16  int
#define UINT32 unsigned long
#define INT32  long

#else
#ifdef __CC_32__

#define UINT8  unsigned char
#define INT8   char
#define UINT16 unsigned short
#define INT16  short
#define UINT32 unsigned long
#define INT32  long

#else

/* user define this part themself */

#endif /* __CC_32BIT__*/
#endif /* __CC_16BIT__*/
#endif /* __USE_STDINT__*/

#define PVOID void *

#define MAX_IP4_CONF 16
#define MAX_IP6_CONF 16

#endif /* __IPLITE_CONFIG_H__*/
